//
//  MainGamePlayScene.cpp
//  AvoidTheBlocks
//
//  Created by hoangtx on 6/18/13.
//
//

#include "MainGamePlayScene.h"


CCScene* MainGamePlayScene::scene()
{
    // 'scene' is an autorelease object
    CCScene *scene = CCScene::create();
    
    // 'layer' is an autorelease object
    MainGamePlayScene *layer = MainGamePlayScene::create();
    
    // add layer as a child to scene
    scene->addChild(layer);
    
    // return the scene
    return scene;
}

bool MainGamePlayScene::init(){
    CCLayerColor* backgroundLayer = CCLayerColor::create(ccc4(255,255,255,255));
    this->addChild(backgroundLayer);
    mapLayer = MainMapLayer::create();
    this->addChild(mapLayer);
    return true;
}

